#include<stdio.h>
int main()
#pragma warning(disable:4996)
{
	int x = 0;
	scanf("%d",&x);
	int fact = 1;
	for (int i = 1; i <= x; i++)
	{
		
		fact *= i;
	}
	printf("%d!=%d", x, fact);
	return 0;
}